package com.ecr.hub.database.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ecr.hub.model.HubInputData;
import com.ecr.hub.model.enumeration.HubDataInputStatus;

public interface IDaoInputData {

	List<HubInputData> getListAll() throws DataAccessException;

	void insert(HubInputData inputData) throws DataAccessException;

	void update(HubInputData inputData) throws DataAccessException;

	List<HubInputData> findByStatus(HubDataInputStatus status);

	void delete(HubInputData inputData) throws DataAccessException;

	HubInputData findById(int id) throws DataAccessException;

	public List<HubInputData> historize() throws DataAccessException;

}
